import Vue from 'vue'
import Vuex from 'vuex'
import { Message } from 'element-ui';
import stores from './storesSystem/stores.js'
import shops from './storesSystem/shops.js'
import adm from './storesSystem/adm.js'
import orders from './storesSystem/orders.js'
import goodsList from './storesSystem/goodsList.js'
import addGoods from './storesSystem/addGoods.js'
// import putGoods from './storesSystem/putGoods1.js'
import finishedGoods from './storesSystem/finishedGoods.js'
import admstores from './admSystem/admstores.js'
// import Echarts from 'native-echarts'


Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    stores, adm, orders, goodsList, shops, orders, addGoods, finishedGoods,
    admstores,
    // Echarts

  }
})
